/**
 * 共通底部处理
 */
//友情链接部分

//各个选项名称
_EsdDynamicTransformationScript.esd2TagNum1 = $(".foot_bg .w1099 .link .link_a:eq(0) span");
_EsdDynamicTransformationScript.esd2TagNum2 = $(".foot_bg .w1099 .link .link_a:eq(1) span");
_EsdDynamicTransformationScript.esd2TagNum3 = $(".foot_bg .w1099 .link .link_a:eq(2) span");
_EsdDynamicTransformationScript.esd2TagNum4 = $(".foot_bg .w1099 .link .link_a:eq(3) span");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd2TagNum1Content1 = $(".foot_bg .w1099 .link .link_a:eq(0) .footer_link_list a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2Content1 = $(".foot_bg .w1099 .link .link_a:eq(1) .footer_link_list a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum3Content1 = $(".foot_bg .w1099 .link .link_a:eq(2) .footer_link_list a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum4Content1 = $(".foot_bg .w1099 .link .link_a:eq(3) .footer_link_list a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd2TagNum1ContentN = $(".foot_bg .w1099 .link .link_a:eq(0) .footer_link_list a:last");
_EsdDynamicTransformationScript.esd2TagNum2ContentN = $(".foot_bg .w1099 .link .link_a:eq(1) .footer_link_list a:last");
_EsdDynamicTransformationScript.esd2TagNum3ContentN = $(".foot_bg .w1099 .link .link_a:eq(2) .footer_link_list a:last");
_EsdDynamicTransformationScript.esd2TagNum4ContentN = $(".foot_bg .w1099 .link .link_a:eq(3) .footer_link_list a:last");

if(location.href=="http://sjt.jl.gov.cn/" || location.href=="http://sjt.jl.gov.cn/index.html"){
	$(".layer .w260 .border:eq(2) a").focus(function () {
	    $(this).bind("keydown.keydown_0", function (e) {
	        if (e.shiftKey && e.keyCode == 9) {
	        	
	        } else if (e.keyCode == 9) {
	            _EsdDynamicTransformationScript.esd2TagNum1.mouseover();
	            _EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
	            return false;
	        }
	    });
	});
	$(".layer .w260 .border:eq(2) a").blur(function () {
	    $(this).unbind("keydown.keydown_0");
	});
}

if(location.href=="http://sjt.jl.gov.cn/sy/jggk/" || location.href=="http://sjt.jl.gov.cn/sy/sjdt/"
	|| location.href=="http://sjt.jl.gov.cn/sy/sjgg/" || location.href=="http://sjt.jl.gov.cn/sy/sjzc/"){
	
	$(".bgbg a:last").focus(function () {
	    $(this).bind("keydown.keydown_0", function (e) {
	        if (e.shiftKey && e.keyCode == 9) {
	        	
	        } else if (e.keyCode == 9) {
	            _EsdDynamicTransformationScript.esd2TagNum1.mouseover();
	            _EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
	            return false;
	        }
	    });
	});
	$(".bgbg a:last").blur(function () {
	    $(this).unbind("keydown.keydown_0");
	});
}

if(location.href=="http://sjt.jl.gov.cn/sy/zmhd/tsjb/"){
	$(document.getElementsByTagName("iframe")[0].contentWindow.document.body).find("input#ResetButton").focus(function () {
	    $(this).bind("keydown.keydown_0", function (e) {
	        if (e.shiftKey && e.keyCode == 9) {
	        	
	        } else if (e.keyCode == 9) {
	            _EsdDynamicTransformationScript.esd2TagNum1.mouseover();
	            _EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
	            return false;
	        }
	    });
	});
	$(document.getElementsByTagName("iframe")[0].contentWindow.document.body).find("input#ResetButton").blur(function () {
	    $(this).unbind("keydown.keydown_0");
	});
}


//第一块
_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
  $(this).bind("keydown.keydown_s1", function (e) {
      if (e.shiftKey && e.keyCode == 9) {
    	  _EsdDynamicTransformationScript.esd2TagNum1.mouseout();
      } else if (e.keyCode == 9) {
          
      }
  });
});
_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
  $(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
  $(this).bind("keydown.keydown_e1", function (e) {
      if (e.shiftKey && e.keyCode == 9) {
          
      } else if (e.keyCode == 9) {
          _EsdDynamicTransformationScript.esd2TagNum2.mouseover();
          _EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
          return false;
      }
  });
});
_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
  $(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd2TagNum2Content1.focus(function () {
  $(this).bind("keydown.keydown_s2", function (e) {
      if (e.shiftKey && e.keyCode == 9) {
          _EsdDynamicTransformationScript.esd2TagNum1.mouseover();
          _EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
          return false;
      } else if (e.keyCode == 9) {
      	
      }
  });
});
_EsdDynamicTransformationScript.esd2TagNum2Content1.blur(function () {
  $(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus(function () {
  $(this).bind("keydown.keydown_e2", function (e) {
      if (e.shiftKey && e.keyCode == 9) {
          
      } else if (e.keyCode == 9) {
          _EsdDynamicTransformationScript.esd2TagNum3.mouseover();
          _EsdDynamicTransformationScript.esd2TagNum3Content1.focus();
          return false;
      }
  });
});
_EsdDynamicTransformationScript.esd2TagNum2ContentN.blur(function () {
  $(this).unbind("keydown.keydown_e2");
});

//第三块
_EsdDynamicTransformationScript.esd2TagNum3Content1.focus(function () {
  $(this).bind("keydown.keydown_s3", function (e) {
      if (e.shiftKey && e.keyCode == 9) {
          _EsdDynamicTransformationScript.esd2TagNum2.mouseover();
          _EsdDynamicTransformationScript.esd2TagNum2ContentN.focus();
          return false;
      } else if (e.keyCode == 9) {
          
      }
  });
});
_EsdDynamicTransformationScript.esd2TagNum3Content1.blur(function () {
  $(this).unbind("keydown.keydown_s3");
});

_EsdDynamicTransformationScript.esd2TagNum3ContentN.focus(function () {
  $(this).bind("keydown.keydown_e3", function (e) {
      if (e.shiftKey && e.keyCode == 9) {
          
      } else if (e.keyCode == 9) {
          _EsdDynamicTransformationScript.esd2TagNum4.mouseover();
          _EsdDynamicTransformationScript.esd2TagNum4Content1.focus();
          return false;
      }
  });
});
_EsdDynamicTransformationScript.esd2TagNum3ContentN.blur(function () {
  $(this).unbind("keydown.keydown_e3");
});

//第四块
_EsdDynamicTransformationScript.esd2TagNum4Content1.focus(function (e) {
  $(this).bind("keydown.keydown_4", function (e) {
      if (e.shiftKey && e.keyCode == 9) {
          _EsdDynamicTransformationScript.esd2TagNum3.mouseover();
          _EsdDynamicTransformationScript.esd2TagNum3ContentN.focus();
          return false;
      } else if (e.keyCode == 9) {
          
      }
  });

});
_EsdDynamicTransformationScript.esd2TagNum4Content1.blur(function () {
  $(this).unbind("keydown.keydown_4");
});

